package com.homework03;

import java.util.Scanner;

/*
根据你的成绩给予奖励或是惩罚。(标注: 成绩请输入键盘录入接受)
*/
public class work15 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的成绩用来判断什么奖励：");
        int score = sc.nextInt();
        if (score <= 100 && score >= 95) {
            System.out.println("奖励一个自行车！");
        } else if (score <= 94 && score >= 90) {
            System.out.println("奖励去公园！");
        } else if (score <= 89 && score >= 80) {
            System.out.println("奖励一个变形金刚玩具！");
        } else if (score < 80) {
            System.out.println("奖励皮带炒肉丝！");
        }
    }
}
